package yrjdezu.abab.engineerpractice2.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件夹表
 * </p>
 *
 * @author lzh
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("folders")
@ApiModel(value="Folders对象", description="文件夹表")
public class Folders implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文件夹ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件夹名称")
    private String name;

    @ApiModelProperty(value = "父文件夹ID（0表示根文件夹）")
    private Integer parentId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;


}
